package com.homwee.factory.pageData;

import java.util.ArrayList;
import java.util.List;

import android.content.Context;

import com.homwee.factory.FactoryActivity;
import com.homwee.listMenu.util.MenuItemData;
import com.homwee.tvap.common.ap.ComSettingManager;
import com.homwee.tvap.common.srvfunc.FactorySetting;
import android.os.SystemProperties;

import com.homwee.factory.ProductFun;

public abstract class PageData {
	protected Context mContext; 
	protected FactoryActivity mFactoryActivity;
	protected List<MenuItemData> mListItemData;
	public ComSettingManager mcomSettingManager;
	public FactorySetting factorySetting;
    //public static final String mProduct = ProductFun.getProduct();
	public static final String mProduct =SystemProperties.get("ro.product.name", "");
	public static final String productName=SystemProperties.get("ro.product.name", "");
	
	public PageData(FactoryActivity mFactoryActivity){
		mListItemData =new ArrayList<MenuItemData>();
		this.mFactoryActivity =mFactoryActivity;
		mContext =mFactoryActivity;
		mcomSettingManager=ComSettingManager.getInstance(mFactoryActivity);
		factorySetting = mcomSettingManager.getFactory();
	}
	
	public abstract List<MenuItemData> LoadPageData();
}
